import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js'
import 'vant/lib/index.css';
import axios from 'axios'
import { Tabbar, TabbarItem, Grid,GridItem ,Button,NavBar,Icon,Image as VanImage} from 'vant';
//使用 Vant 按需导入组件
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(NavBar)
Vue.use(Button)
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Icon)
Vue.use(VanImage)
Vue.prototype.$axios = axios

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
